package com.jgp.security.secmodel;

import com.jgp.common.persistence.UUIDModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 项目   parent
 * 作者   loufei
 * 时间   2018/4/13
 */
@Entity
@Table(name = "sec_institution_user")
public class SecInstitutionUser extends UUIDModel {
    
    private static final long serialVersionUID = -5353011106551910506L;
    @Column(name = "institution_id")
    private Long institutionId;
    
    @Column(name = "user_id",length = 32)
    private String userId;
    
    public Long getInstitutionId() {
        return institutionId;
    }
    
    public void setInstitutionId(Long institutionId) {
        this.institutionId = institutionId;
    }
    
    public String getUserId() {
        return userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
}
